package com.vict;

import com.vict.gui.*;

import javax.swing.*;

public class GuiApplication {

    public static GuiApplication guiApplication;

    private MainWIndowGui manWindow;

    private LogGui logGui;

    public void init(){
        manWindow = new MainWIndowGui();
        manWindow.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        manWindow.setVisible(true);

        logGui = new LogGui();
        logGui.getLogText().setText("");
    }

    public MainWIndowGui getMainWindow() {
        return manWindow;
    }
    public LogGui getLogGui() {
        return logGui;
    }

}
